<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/public/head.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<title>添加类型</title>
<script type="text/javascript">
	function typepsrsave() {
		jquerySubByFId('typepsrsaveform', typepsrsave_callback, null, "json");

	}
	//ajax调用的回调函数，ajax请求完成调用此函数，传入的参数是action返回的结果
	function typepsrsave_callback(data) {
	  message_alert(data);
	  parent.$('#list').datagrid('load');
	  parent.closemodalwindow();

	}
</script>
</head>
<body>


	<form id="typepsrsaveform" action="${system}/links/bbb" method="post">
		<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%"
			bgColor=#c4d8ed>
			<TBODY>
				<TR>
					<TD background=images/r_0.gif width="100%">
						<TABLE cellSpacing=0 cellPadding=0 width="100%">
							<TBODY>
								<TR>
									<TD>&nbsp;添加图书</TD>
									<TD align=right>&nbsp;</TD>
								</TR>
							</TBODY>
						</TABLE></TD>
				</TR>

				<TR>
					<TD>
						<TABLE class="toptable grid" border=1 cellSpacing=1 cellPadding=4
							align=center>
							<TBODY>

							<TR>
								<TD height=30 width="15%" align=right >名称：</TD>
								<TD class=category width="35%">
									<div>
										<input type="text" id="bookname" name="bookname" value="${link.bookname}" />
									</div>
									<!-- sysuser_useridTip用于显示提示信息，提示div的id等于校验input的id+Tip -->
									<div id="linkNamedTip"></div>
								</TD>

							</TR>
							<TR>
								<TD height=30 width="15%" align=right >编号类型：</TD>
								<TD class=category width="35%">
									<div>
										<input type="text" id="link_order" name="booktypeid" value="${link.booktypeid}" />
									</div>
									<!-- sysuser_useridTip用于显示提示信息，提示div的id等于校验input的id+Tip -->
									<div id="link_orderTip"></div>
								</TD>
							</TR>
								<tr>
									<td colspan=4 align=center class=category><a
										id="submitbtn" class="easyui-linkbutton" iconCls="icon-ok"
										href="#" onclick="typepsrsave()">提交</a> <a id="closebtn"
										class="easyui-linkbutton" iconCls="icon-cancel" href="#"
										onclick="parent.closemodalwindow()">关闭</a></td>
								</tr>

							</TBODY>
						</TABLE></TD>
				</TR>
			</TBODY>
		</TABLE>
	</form>
</body>
</html>